package com.imooc.shoufang.repository;

import com.imooc.shoufang.entity.HouseSubscribe;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by zghgchao 2018/1/20 10:55
 */
public interface HouseSubscribeRespository extends PagingAndSortingRepository<HouseSubscribe,Long> {
    HouseSubscribe findByHouseIdAndUserId(Long id, Long loginUserId);
}
